package me.tianle.login.service.impl;


import me.tianle.login.bean.User;
import me.tianle.login.dao.UserDao;
import me.tianle.login.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserDao userDao;

    @Override
    public User findByUsername(String username) {
        return userDao.findByUsername(username);
    }
}
